/**
* Copyright (c) By zengqh.
*
* This program is just for fun or demo, in the hope that it  
* will be useful, you can redistribute it and/or modify freely.
*
* Time: 2012/07/25
* File: FrameBuffer.h
* Blog: http://www.cnblogs.com/zengqh/
**/

#ifndef FrameBuffer_h__
#define FrameBuffer_h__

#include "../Core/Core.h"
#include "../Core/Declare.h"

class FrameBuffer
{
public:
	enum Attachment
	{
		ATT_DepthStencil,
		ATT_Color0,
		ATT_Color1,
		ATT_Color2,
		ATT_Color3,
		ATT_Color4,
		ATT_Color5,
		ATT_Color6,
		ATT_Color7
	};

	virtual ~FrameBuffer() {}

	virtual void Attach(u32 att, RenderView* rv) = 0;
	virtual void Detach(u32 att) = 0;
};
#endif    /* FrameBuffer_h__ */